<?php
/**
 * @version $Id: view.html.php 1146 2010-03-30 19:35:55Z elkuku $
 * @package    EasyCreator
 * @subpackage Help
 * @author     EasyJoomla {@link http://www.easy-joomla.org Easy-Joomla.org}
 * @author     Nikolai Plath (elkuku) {@link http://www.nik-it.de NiK-IT.de}
 * @author     Created on 07-Mar-2008
 * @license    GNU/GPL, see JROOT/LICENSE.php
 */

// no direct access
defined( '_JEXEC' ) or die( ';)' );

jimport( 'joomla.application.component.view');

/**
 * HTML View class for the EasyCreator Component
 *
 * @package EasyCreator
 * @subpackage Views
 */
class EasyCreatorViewHelp extends JView
{
    function display($tpl = null)
    {
        $task = JRequest::getCmd('task');

        $help_path = JPATH_COMPONENT.DS.'assets'.DS.'help';

        switch($task)
        {
            case 'jhelp':
                $help_file = '';
                $this->setLayout('jhelp');
                break;

            case 'help':
            default:
                $help_file = 'help.php';
                break;
        }

        parent::display($tpl);
        ecrHTML::easyFormEnd();
    }//function

}//class
